﻿body  
{
    /*font-family:Segoe UI, Verdana, Arial;*/
    font-family:"Lucida Grande","Helvetica Neue",Helvetica,Arial,"Hiragino Sans GB","Hiragino Sans GB W3","Microsoft YaHei UI","Microsoft YaHei","WenQuanYi Micro Hei",sans-serif 
    font-size:14px; margin:0;
}
body.mainbody
{
    background-color:#eee;
    }
#header { height:36px; padding:0px; background-color:#368ee0; color:White;}

#content 
{  
    margin-left:200px;
    position:relative;
    width:auto; 
    padding-top:10px;
    background:#fff;
}
#main 
{ 
    min-height:500px; 
}
#main #breadcrumb
{  
    font-weight:bolder;
    font-size:larger; 
    }
.row-heighter
{ 
    margin-top:3px;
    margin-bottom:3px;
    }
.table
{
    margin-bottom:3px;
    }
#sidebar  
{
    display:block; 
    background:#eee;  
    position:absolute;
    width:200px;
    top:36px; 
    left:0px; 
}
#footer { height:60px;border-top:1px solid #ccc; clear:both; text-align:center; margin-top:40px; padding-top:10px}
 
a:hover, a:focus
{
    text-decoration:none;
}
#logo
{
    background: url(../../content/images/logo.png) no-repeat 5px 5px;
    height: 35px;
    width: 200px;
    float: left;
}

.main-nav
{ 
    list-style-type:none;
    margin:0px;
}
.main-nav li
{
    float:left;
    position:relative; 
    line-height:36px; 
}

.main-nav li.active
{
    background:#efe; 
}
.main-nav li.active a
{ 
    cursor:default;
    color:Black;
    font-weight:bolder;
}
.main-nav li a
{
    color:white;
    display:block; 
    padding:0px 20px;
    text-decoration:none;
}  
.main-nav li:not(.active) a:hover
{
    background:#1e74c5; 
}
.userinfo
{ 
    display:block; 
    float:right;
    line-height:20px;
    margin-top:8px;
    margin-bottom:8px;
}
.userinfo a
{
    color:White;
}
.userinfo .dropdown-menu
{
    min-width:100px;
}
/*------------------------------------------------------------*/
.subnav
{
    margin-top:10px;  
}
.subnav-menu .active
{ 
    background:#DBE1E7;
    }
.subnav .subnav-title
{
    text-overflow:ellipsis; 
}
.subnav .subnav-title .toggle-subnav
{
    color:#444;
    padding:1px 0px;
    text-decoration:none;
    display:block;
    position:relative; 
    white-space:nowrap;
    overflow:hidden;
    font-weight:bolder;
    padding-left:8px;
    cursor:pointer;
}
.subnav .subnav-menu
{ 
    list-style-type:none;
    margin-left:0px; 
}

.subnav .subnav-menu > li
{ 
    text-overflow:ellipsis;
    white-space:nowrap;
    padding-left:0px;
}
.subnav .subnav-menu > li a
{ 
    color:#555;
    display:block;
    padding:3px 0px 3px 30px;
    text-decoration:none;
    white-space:nowrap;
    text-overflow:ellipsis;
    overflow:hidden
}
.subnav .subnav-menu > li:hover
{ 
    background:#ddd;
}

.pagebar .info
{
    float:right;
    line-height:30px;
    margin-right:10px;
    }
    

.grid td.empty-info
{
    height: 25px;
    text-align: center !important;
    vertical-align:middle;
    color:#a22;
}
.grid .action a
{
    margin:3px 5px 0px 3px;
    }
.grid input[type=text]
{
    margin:0px!important;
    padding:2px 6px!important;
    border-radius:0px;
    border-top:0px;
    border-left:0px;
    border-right:0px; 
    }
/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error
{
    color: #ff0000;
}

.field-validation-valid
{
    display: none;
}

.input-validation-error
{ 
    border: 1px solid #aa2222!important;
    background-color: #ffeeee!important;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid
{
    display: none;
}
/*------树形下拉框-----------------------*/
.tree-ul
{
    background: #eff;
    border: 1px solid #ccc;
    display: none;
    position: absolute;
}
.tree-textbox
{
    background-color: #fff !important;
    cursor: pointer !important;
}
.tree-reset
{
    cursor: pointer;
    vertical-align: middle;
} 
/*-----------------------------*/

/*-----选择框样式-----------------------------------------------------*/
.select_body
{
    display: inline-block;
}
.select_body div
{
    display: inline-block; 
}
.select_body span
{
    cursor: default;  
}
.select_body select
{
    margin-left: 10px;
}
.select_body span:hover
{
    background-color: #ccc;
}
.select_body i
{
    cursor:pointer;
    visibility:hidden;
    display: inline-block;
    margin-left:3px;
    margin-right:1px;
    height: 12px;
    width: 12px;
    background-image:url("/content/images/delete.png") 
}
/*-----------------------------------------------------------*/
/*-----------------------------------------------------------*/
.display-label
{
    margin-left:5px;
    padding-top: 4px; 
    line-height: 20px; 
    float:left;
    border-bottom:1px solid #ccc;
    min-width:150px;
    display:inline-block;
    height:20px;
}
.loading-large
{
    position:absolute;
    left:50px;
    top:20px;
    width:54px;
    height:55px;
    background:url(../content/images/loading_54x55.gif);
    } 
@media screen and (max-width:1280px)
{ 
    .textbox-large
    {
        width:180px!important;
    }
    .textbox-larger
    {
        width:280px!important; 
    }  
    .textbox-small
    {
        width:70px!important;
    }
    .textbox-smaller
    {
        width:50px!important;
    } 
} 
@media screen and (min-width:1280px)
{ 
    .textbox-large
    {
        width:220px!important;
    }
    .textbox-larger
    {
        width:350px!important; 
    }  
    .textbox-small
    {
        width:100px!important;
    }
    .textbox-smaller
    {
        width:80px!important;
    } 
}
.tip
{ 
    display:inline-block;
    padding:5px 10px; 
    font-size:1.3em;
    color:White;
}